package com.luanye.enjoy.controller;

import com.luanye.enjoy.annotation.SysLog;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/test")
public class TestController {

    @GetMapping("/hello")
    @SysLog(BusinessName = "测试接口")
    public String index() {
        return " 你好 服务器 ";
    }
}
